package org.aceor.mddal.unit.app.domain;

import com.google.common.base.Objects;

import java.sql.Timestamp;
import java.util.Date;

/**
 * Created by lxue on 16/4/13.
 */
public class SimpleStudent {
    private Long id;
    private String name;
    private int age;
    private Date birth;
    private Timestamp gmt_create;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }

    public Timestamp getGmt_create() {
        return gmt_create;
    }

    public void setGmt_create(Timestamp gmt_create) {
        this.gmt_create = gmt_create;
    }

    @Override
    public String toString() {
        return Objects.toStringHelper(this)
                .add("id", id)
                .add("name", name)
                .add("age", age)
                .add("birth", birth)
                .add("gmt_create", gmt_create)
                .toString();
    }
}
